home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960209-19960425 / 000098_news@columbia.edu _Mon Feb 26 10:55:03 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id KAA26165 for <kermit.misc@watsun>; Mon, 26 Feb 1996 10:55:02 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id KAA23995 for kermit.misc@watsun; Mon, 26 Feb 1996 10:55:00 -0500 (EST)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Multiple Tabs in Macros???
  8. Date: 26 Feb 1996 15:54:55 GMT
  9. Organization: Columbia University
  10. Lines: 24
  11. Message-ID: <4gsl4f$ndo@apakabar.cc.columbia.edu>
  12. References: <4glesa$lqq@uwm.edu> <4gnanl$gqa@apakabar.cc.columbia.edu> <wpfulmorDnDCDy.6u8@netcom.com>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <wpfulmorDnDCDy.6u8@netcom.com>,
  16. william p fulmor <wpfulmor@netcom.com> wrote:
  17. : fdc@watsun.cc.columbia.edu (Frank da Cruz) writes:
  18. : >There is, in general, no limit on the length of a macro definition, but
  19. : >there *is* a limit on the length of a command: ...
  20. : >
  21. : Is there a similar restriction/work around on the length of variables?  
  22. You mean, on the length of the definition of a variable?  Yes, exactly the
  23. same limit and exactly the same workaround.  Of course that does not mean
  24. that the length of the definition is unlimited.  There is always a limit
  25. -- physical memory, virtual memory, etc.
  26.  
  27. If you mean on the length of the *name* of a variable, yes, there is a limit.
  28. Here we are speaking of the variable-length-named variables, also known as
  29. macros (which can be used as variables), e.g.
  30.  
  31.   define variablewithverylonglong value
  32.   echo \m(variablewithverylonglong)
  33.  
  34. The limit is implementation and version dependent, usually somewhere between
  35. 10 and 128.
  36.  
  37. - Frank